import React from 'react'
import {useParams} from 'react-router-dom'

export default function DomesticNewsDetail() {
  const params=useParams()
  return (
    <div>
      <h2>国内新闻详情</h2>
      <dir>{params.id}</dir>
    </div>
  )
}
